| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

MonoMaterialPass.h
1 // MonoMaterialPass.h
3 //
5
6 namespace nkGraphics
7 {
15 class MonoMaterialPass : public RenderScenePass
16 {
17 public :
18
22 Shader* getShader () const ;
23
29 virtual void setShader (Shader* shade) ;
30
31 // Import / Export
32 virtual void exportClassToTree (nkExport::Node* rootNode) override ;
33 virtual void importClassFromTree (nkExport::Node* rootNode) override ;
34 } ;
35 }
nkGraphics::MonoMaterialPass::getShader
Shader * getShader() const
nkGraphics::MonoMaterialPass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::MonoMaterialPass
A pass rendering the scene, using only one shader to render all the meshes enqueued.
Definition: MonoMaterialPass.h:16
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkGraphics::RenderScenePass
A pass rendering render queues.
Definition: RenderScenePass.h:15
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::MonoMaterialPass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::MonoMaterialPass::setShader
virtual void setShader(Shader *shade)